package cool.houge.wuneng.internal;

import cool.houge.wuneng.entity.Region;
import cool.houge.wuneng.entity.system.Dict;
import cool.houge.wuneng.oas.model.GetDictResponse;
import cool.houge.wuneng.oas.model.GetRegionResponse;
import cool.houge.wuneng.oas.model.GetTokenRequest;
import cool.houge.wuneng.oas.model.TokenRefreshTokenForm;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;

/// 参考 [mapstruct](https://mapstruct.org/)
///
/// @author ZY (kzou227@qq.com)
@Mapper(componentModel = MappingConstants.ComponentModel.JAKARTA)
public interface VoBeanMapper {

    GetRegionResponse toGetRegionResponse(Region bean);

    GetDictResponse toGetDictResponse(Dict bean);

    TokenRefreshTokenForm toTokenRefreshTokenForm(GetTokenRequest bean);
}
